.class Llt/noframe/gpsfarmguide/views/FragmentTracksList$3$1;
.super Ljava/lang/Object;
.source "FragmentTracksList.java"

# interfaces
.implements Llt/noframe/gpsfarmguide/dialogs/TrackDialogs$ActionCallback;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Llt/noframe/gpsfarmguide/views/FragmentTracksList$3;->onItemClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$1:Llt/noframe/gpsfarmguide/views/FragmentTracksList$3;


# direct methods
.method constructor <init>(Llt/noframe/gpsfarmguide/views/FragmentTracksList$3;)V
    .locals 0

    .line 340
    iput-object p1, p0, Llt/noframe/gpsfarmguide/views/FragmentTracksList$3$1;->this$1:Llt/noframe/gpsfarmguide/views/FragmentTracksList$3;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public actionChosen(ILlt/noframe/gpsfarmguide/sprayer/track/ModelTrack;)V
    .locals 2

    const/4 v0, 0x1

    if-nez p1, :cond_0

    .line 344
    iget-object p1, p0, Llt/noframe/gpsfarmguide/views/FragmentTracksList$3$1;->this$1:Llt/noframe/gpsfarmguide/views/FragmentTracksList$3;

    iget-object p1, p1, Llt/noframe/gpsfarmguide/views/FragmentTracksList$3;->this$0:Llt/noframe/gpsfarmguide/views/FragmentTracksList;

    invoke-virtual {p2}, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->getId()I

    move-result p2

    invoke-virtual {p1, v0, p2}, Llt/noframe/gpsfarmguide/views/FragmentTracksList;->setSelection(ZI)V

    goto :goto_0

    :cond_0
    if-ne p1, v0, :cond_1

    .line 346
    iget-object p1, p0, Llt/noframe/gpsfarmguide/views/FragmentTracksList$3$1;->this$1:Llt/noframe/gpsfarmguide/views/FragmentTracksList$3;

    iget-object p1, p1, Llt/noframe/gpsfarmguide/views/FragmentTracksList$3;->this$0:Llt/noframe/gpsfarmguide/views/FragmentTracksList;

    invoke-virtual {p1}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object p1

    check-cast p1, Llt/noframe/gpsfarmguide/views/ActivityDrawer;

    iget-object v0, p0, Llt/noframe/gpsfarmguide/views/FragmentTracksList$3$1;->this$1:Llt/noframe/gpsfarmguide/views/FragmentTracksList$3;

    iget-object v0, v0, Llt/noframe/gpsfarmguide/views/FragmentTracksList$3;->this$0:Llt/noframe/gpsfarmguide/views/FragmentTracksList;

    .line 347
    invoke-static {v0}, Llt/noframe/gpsfarmguide/views/FragmentTracksList;->access$300(Llt/noframe/gpsfarmguide/views/FragmentTracksList;)I

    move-result v0

    invoke-virtual {p2}, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->getField_id()I

    move-result v1

    invoke-virtual {p2}, Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;->getId()I

    move-result p2

    invoke-static {v0, v1, p2}, Llt/noframe/gpsfarmguide/views/FragmentMap;->newInstance(III)Llt/noframe/gpsfarmguide/views/FragmentMap;

    move-result-object p2

    const/4 v0, 0x0

    .line 346
    invoke-virtual {p1, p2, v0}, Llt/noframe/gpsfarmguide/views/ActivityDrawer;->setCurrentFragment(Landroidx/fragment/app/Fragment;I)V

    :cond_1
    :goto_0
    return-void
.end method
